package com.own.business.wechat.mobile.service;

import com.alibaba.fastjson2.JSONObject;
import com.own.business.wechat.mobile.entity.bo.WechatMobileAuthenticationBo;
import com.own.business.wechat.mobile.entity.map.WechatMobileAuthenticationMapVo;
import com.own.business.wechat.mobile.entity.po.WechatMobileAuthentication;
import com.own.business.wechat.mobile.entity.query.WechatMobileAuthenticationQuery;
import com.own.business.wechat.mobile.entity.vo.WechatMobileAuthenticationVo;
import com.own.component.common.base.service.BaseService;

/**
 * WechatMobileAuthenticationService
 *
 * @author chenxueli
 * @date 2023-06-30 09:06:33
 */
public interface WechatMobileAuthenticationService extends BaseService<
        WechatMobileAuthentication,
        WechatMobileAuthenticationBo,
        WechatMobileAuthenticationVo,
        WechatMobileAuthenticationMapVo,
        WechatMobileAuthenticationQuery
        > {

    /**
     * 保存微信认证信息
     *
     * @param code       原始code
     * @param jsonObject 微信认证信息
     * @return 认证信息
     */
    WechatMobileAuthentication saveOfJson(String code, JSONObject jsonObject);

}

